package com.qiangesoft.bootcodegen.pojo.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 数据库表新增传输对象
 * </p>
 *
 * @author qiangesoft
 * @date 2024-03-13
 */
@ApiModel(value = "数据库表新增传输对象")
@Data
public class BcgTableDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "数据源")
    private BcgTableConfigDTO tableConfig;

    @NotEmpty(message = "数据库表不能为空")
    @ApiModelProperty(value = "数据库表")
    private List<BcgTableColumnConfigDTO> tableColumnConfigList;

}
